maven 在spring mvc项目中开发环境 、测试环境、生产环境打包 1.pom文件增加如下配置: <profiles> <profile> <!-- 本地开发环境 --> <id>dev</id> ...